function MI_dist_ForOneRecording(Placeness_MetaData,k)

A=Placeness_MetaData(k);


Upper_Bound=1; %manually define upper bound of MI distribution
Lower_Bound=0; %manually define lower bound of MI distribution
Interval=0.05; %manually define how to bin the MI distribution


bar((Lower_Bound+0.5*Interval:Interval:Upper_Bound),A.MI_Proportion,1,'b','FaceAlpha',0.6);
ylim([0 0.6]);
xlabel('Mutual Information Values', 'FontSize', 11);
ylabel('proportion of cells', 'FontSize', 11);
hold on;
plot((Lower_Bound+Interval:Interval:Upper_Bound),A.ShuffledMI_Proportion,'--k','lineWidth',1.5);
hold off;
legend('proportion of cells','Shuffle')
title('Mutual Information & Shuffle Distribution');

end